package com.pingan.glue.gluegame.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.pingan.glue.gluegame.entity.FriendUserEntity;
import com.pingan.glue.gluegame.entity.SysCaptchaEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 交友账户
 *
 */
@Mapper
public interface FriendUserDao extends BaseMapper<FriendUserEntity> {


    @Select("select * from friend_user where username=#{userName}")
    FriendUserEntity queryByUserName(String userName);

    @Select("select * from friend_user where mobile=#{mobile}")
    FriendUserEntity queryByMobile(String mobile);

}
